@* <p>
    <font>
        时空银河
    </font>
    <font>
        @ViewBag.username
    </font>
    <ul>
        @foreach (int item in ViewBag.ids)
        {
            <li>@item</li>
        }
    </ul>  *@
    @using AAA.Models;
    @model IEnumerable<Student>;
    @{
        Layout=null;
    }
    <table class="a">   //class...为做表格做铺垫
        <tr>
            <td>序号</td>
            <td>姓名</td>
            <td>住址</td>
            <td>头像</td>
            <td>年龄</td>
            <td>操作</td>
        </tr>
        @foreach (var item in Model)
    {
        <tr>
            <td>@item.Id</td>
            <td>@item.Name</td>
            <td>@item.Adress</td>
            <td>@item.Touxiang</td>
            <td>@item.Age</td>
            <td>
                <input type="button" value="修改">
                <input type="button" value="删除">
            </td>
        </tr>
    }
    </table>
@* </p> *@
<style>
    @* table
    {
        border: 1px;
        border-style: solid;     //制作框框
    } *@
    table.a
    {
        font-family: verdana,arial,sans-serif;
        font-size: 11px;
        color: black;    //字体颜色
        border-width: 1px;
        border-color: red;
        border-collapse: collapse;
    }
    table.a th
    {
        border-width: 1px;
        padding: 8px;
        border-style: solid;
        border-color: red;   //线条颜色
        background-color: blue;   //???
    }
    table.a td
    {
        border-width: 1px;
        padding: 8px;
        border-style: solid;
        border-color: red;
        background-color: white;   //???
    }
</style>
